class BooksAPI():
    def __init__(self):
        self.dl_url = 'http://localhost:8081/books'

    def books(selfs,session,token):
        login_token = {
            "token":token
        }
        return session.get(selfs.dl_url,headers=login_token)